/**
 *  Copyright 2010 ShenYang voole Co. Ltd.
 *  All right reserved. 
 */
package com.dianning.service;

import java.util.List;

import com.dianning.bean.Visitor;
import com.dianning.exception.DianningException;

/**
 * 功能描述:广告操作接口
 *
 * 创建日期 Apr 10, 2010
 *
 * @author zhangbaochao
 *
 * @version 1.0
 *
 */
public interface AdService {
	
	/**
	 * 根据code获取Ad对象列表
	 * 
	 * @param code
	 * 			广告位代码
	 * @param endTime
	 * 			结束时间
	 * @param orderby
	 * @param ascOrDesc
	 * @return List
	 * 			Ad对象
	 */
	public List findAdsByCode(String code,int endTime, String orderby, int ascOrDesc);
}
